package com.authine.cloudpivot.ext.exception;

import lombok.Getter;

@Getter
public class InquiryException extends RuntimeException {
    private String errMsg;
    private String errCode;

    public InquiryException() {
    }

    public InquiryException(String errCode, String errMsg) {
        super(errMsg);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public InquiryException(String message, Throwable cause) {
        super(message, cause);
    }

    public InquiryException(Throwable cause) {
        super(cause);
    }

    public InquiryException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }


}
